package ysu.sxm.ptjc.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @Description  
 * @Author  baodan_Fan 
 * @Date 2021-01-07 
 */

@Getter
@Setter
@ToString
@NoArgsConstructor
@EqualsAndHashCode
@Entity
@Table ( name ="pro_relation_info" )
public class ProRelationInfo  implements Serializable {
	private static final long serialVersionUID =  8871732792117784378L;

	/**
	 * 产品编号

	 */
	@Id
	private String produceNum;

	/**
	 * 客户id

	 */
   	@Column(name = "customer_id" )
	private String customerId;

	/**
	 * 颜色
	 */
   	@Column(name = "color" )
	private String color;

	/**
	 * 车型id
	 */
   	@Column(name = "car_type_id" )
	private String carTypeId;

	/**
	 * 车间id
	 */
   	@Column(name = "workshop_id" )
	private String workshopId;

	public String getProduceNum() {
		return this.produceNum;
	}

	public void setProduceNum(String produceNum) {
		this.produceNum = produceNum;
	}

	public String getCustomerId() {
		return this.customerId;
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}

	public String getColor() {
		return this.color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getCarTypeId() {
		return this.carTypeId;
	}

	public void setCarTypeId(String carTypeId) {
		this.carTypeId = carTypeId;
	}

	public String getWorkshopId() {
		return this.workshopId;
	}

	public void setWorkshopId(String workshopId) {
		this.workshopId = workshopId;
	}

}
